import { GET_ARTICLE } from '../actionsTypes'
const initValue = {}
export default function article (state = initValue, { type, payload }) {
  if (type === GET_ARTICLE) {
    return payload
  }
  return state
}
